-
Home
-
GiveWP – Donation Plugin and Fundraising Platform
-
4.12.0 (latest)
-
Code
-
Classes
- DonorRepository
| Total Complexity |
57 |
| Dependencies |
13 |
| Dependents |
2 |
| Total lines |
557 |
| Lines of code |
306 |
| Logical lines of code |
138 |
| Comment lines |
135 |
| Methods |
19 |
| Properties |
2 |
Methods 19
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| update() |
A |
46 |
11 |
37 |
| insert() |
A |
44 |
10 |
45 |
| getDonorType() |
S |
49 |
6 |
32 |
| updateLegacyColumns() |
S |
55 |
4 |
19 |
| updateAddresses() |
S |
48 |
3 |
33 |
| delete() |
S |
56 |
2 |
19 |
| getDonorLatestDonationDate() |
S |
58 |
2 |
16 |
| validateDonor() |
S |
68 |
3 |
7 |
| getByEmail() |
S |
62 |
2 |
13 |
| getAdditionalEmails() |
S |
63 |
2 |
11 |
| getByAdditionalEmail() |
S |
63 |
2 |
11 |
| prepareQuery() |
S |
53 |
1 |
24 |
| getByWpUserId() |
S |
68 |
2 |
8 |
| updateAdditionalEmails() |
S |
65 |
2 |
9 |
| __construct() |
S |
80 |
1 |
3 |
| queryById() |
S |
76 |
1 |
4 |
| getById() |
S |
80 |
1 |
3 |
| getCoreDonorMeta() |
S |
65 |
1 |
9 |
| getDonorsCount() |
S |
80 |
1 |
3 |